package wrapper;

import com.fasterxml.jackson.annotation.JsonUnwrapped;
import domain.Offer;

/**
 * Created by aceyin on 15/7/3.
 * 给『我的工作列表』功能使用
 */
public class SimpleOfferWrapper {
    @JsonUnwrapped
    private Offer offer;
    private SimpleRecruitment4Worker recruitment;

    public Offer getOffer() {
        return offer;
    }

    public void setOffer(Offer offer) {
        this.offer = offer;
    }

    public SimpleRecruitment4Worker getRecruitment() {
        return recruitment;
    }

    public void setRecruitment(SimpleRecruitment4Worker recruitment) {
        this.recruitment = recruitment;
    }
}
